﻿using InspectionApi.Enum;
using netCoreStudy.Entities.Base;

namespace netCoreStudy.Entities
{
	/// <summary>
	/// 文件(图片等……) 
	/// </summary>
	
	public class Material : BaseEntity
	{
		/// <summary>
		/// 文件名
		/// </summary>
		public string Name { get; set; }

		/// <summary>
		/// 真实文件名
		/// </summary>
		public string RealName { get; set; }

		/// <summary>
		/// 后缀名
		/// </summary>
		public string Suffix { get; set; }

		/// <summary>
		/// 路径 
		/// </summary>
		public string Path { get; set; }

		/// <summary>
		/// 文件类型 
		/// </summary>
		public FileType Type { get; set; }

		/// <summary>
		/// 文件类型  
		/// </summary>
		public long Size { get; set; }

	}
}